package com.A21.GuoSai.demo.service_entity.entity.workflow;


public enum WorkFlowStatus {

//  'state|1': ['published', 'debugged', 'designed', 'unpublish'],
    Designed(0,"待编排"),
    Debugged(1,"待调试"),
    Unpublish(2,"未发布"),
    Published(3,"已发布"),
    Wrong(-1,"枚举错误");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    WorkFlowStatus() {
    }

    WorkFlowStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
